package com.haoting.blogservice.service;

import com.haoting.blogservice.entity.Blogsubject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.haoting.blogservice.entity.subject.OneSubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tingting
 * @since 2020-12-21
 */
public interface BlogsubjectService extends IService<Blogsubject> {

    void saveSubject(MultipartFile file,BlogsubjectService blogsubjectService);

    List<OneSubject> getAllOneTwoSubject();
}
